<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        * {margin: 0;padding: 0}
    </style>
</head>
<body>
    <div id="app">
        <input type="text" style="margin-left: 30px" v-focus>
        <br>
        {{rq | dateFilter}}
        <br>
        <v-damu></v-damu>
    </div>
</body>
<script src="./js/myPlugin.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/moment.js/2.29.1/moment.min.js"></script>
<script src="../../js/vue.js"></script>
<script>
    Vue.config.productionTip=false;
    //MyPlugin : 插件对象
    //当我们调用Vue.use方法时  MyPlugin对象的install方法会被自动调用 第一个参数是Vue构造
    Vue.use(MyPlugin)
    new Vue({
        el:"#app",
        data:{rq:new Date()}
    })
</script>
</html>